//
//  YWGropButtonView.h
//  maintain
//
//  Created by 郑想 on 16/6/17.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YWattachment;
@protocol YWGropButtonViewDelegate <NSObject>
-(void)handleAttachment:(YWattachment*)attachment;
@end

@interface YWGropButtonView : UIView
@property (nonatomic, assign) CGFloat selfHigt;
@property (nonatomic, strong) NSArray* attachments;

@property (nonatomic ,weak) id<YWGropButtonViewDelegate>delegate;

- (void)initWithGroupItems:(NSArray *)groupItems withshotContrain:(NSLayoutConstraint *)shotContraint;

@end
